package org.zsl.entity;

import org.junit.Test;

public class BeanFactoryTestor {


    @Test
    public  void  testBeanFactory(){

         BeanFactory beanFactory = new BeanFactory();

         beanFactory.init();

       Customer customer1= (Customer) beanFactory.getBean("customer1");

        System.out.println(customer1);


    }
}
